<?php

class Empeval_Methods_Response_GetBonusGroups {
	
	/**
	 *
	 * @var Empeval_Methods_Data_ResponseStatus
	 */
	public $responseStatus;
	/**
	 * 
	 * @var Empeval_Methods_Data_BonusGroup[]
	 */
	public $bonusGroups = array();
	
	public function __construct($status, $bonusGroups) {
		$this->responseStatus = new Empeval_Methods_Data_ResponseStatus($status);
		foreach ($bonusGroups as $bonusGroup)
			$this->bonusGroups[] = new Empeval_Methods_Data_BonusGroup($bonusGroup);
	}
	
}